﻿using System;

namespace SmlEngine
{
    /// <summary>
    /// Specifies how the collider will handle collisions
    /// </summary>
    [Flags()]
    public enum NotifyCollision
    {
        /// <summary>
        /// Raises a collision event.
        /// </summary>
        TriggerEventOnly = 0,

        /// <summary>
        /// Automatically moves the sprite in response 
        /// to the collision.
        /// </summary>
        HandleMoveOnly = 1,

        /// <summary>
        /// Automatically moves the sprite in response
        /// to the collision, and raises a collision event.
        /// </summary>
        HandleMoveAndTriggerEvent = HandleMoveOnly | TriggerEventOnly
    }
}
